<template>
  <a-card title="处理意见">
     <a-form :form="form" :label-col="{ span: 1.2 }" :wrapper-col="{ span: 24 }" @submit.prevent="handlerSubmit">
      <a-form-item label="处理结果" :colon="false">
        <a-radio-group
          v-decorator="[
            'value',
            {
              rules: [{ required: true, message: 'required' }]
            }
          ]"
        >
          <a-radio :value="0">
            已处理
          </a-radio>
          <a-radio :value="1">
            未处理
          </a-radio>
        </a-radio-group>
      </a-form-item>
      <a-button type="primary" @click="handlerSubmit">
        提交
      </a-button>
    </a-form>
  </a-card>
</template>

<script>
import form from './form'
import props from '../props'

export default {
  mixins: [props, form],

  data () {
    return {
      form: this.$form.createForm(this),
    }
  },
}
</script>
